/* app css stylesheet */

/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 120px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: rgba(220, 223, 232, 0.50);
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a {
    color: #fff;
    background-color: #428bca;
}

.nav-sidebar > .active > a:hover, button.btn.btn-link:hover {
    color: #000000;
}

.navbar.navbar-inverse{
    background-color: rgb(220,223,232);
}

.navbar-fixed-top{
    max-height: 120px;
}


/*
 * Main content
 */

.main {
    top: 100px;
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

.nav-title {
    color: #999;
    font-size: 14px;
}

.top30 {
    padding-top: 30px;
}

div.object{
    width: 250px;
    height: 200px;
    /*margin-right: 2%;*/
    margin-left: 2%;
}

div.object .row{
    padding-bottom: 10px;
}

div.object .buttons{
    position: absolute;
    bottom: 5px;
    right: 20px;
    left: 10px;
    width: 90%;
}

.inline-flex{
    display: inline-flex;
}

.container {
    width: 100%;
}

.animate-show {
    line-height:20px;
    opacity:1;
    padding:10px;
}

.animate-show.ng-hide-add,
.animate-show.ng-hide-remove {
    display:block!important;
}

.animate-show.ng-hide-add.ng-hide-add-active,
.animate-show.ng-hide-remove.ng-hide-remove-active {
    -webkit-transition:all linear 1.5s;
    transition:all linear 1.5s;
}

.animate-show.ng-hide {
    line-height:0;
    opacity:0;
    padding:0 10px;
}

.alert{
    margin-bottom: 0;
    padding: 5px;
}

.notificationsCounter {
    border: black 1px solid;
    border-radius: 5px;
    box-shadow: 2px 2px 1px #888888;
    padding: 2px 5px;
    background: rgb(16, 16, 148);
    color: white;
}

div.popover{
    top: 150px !important;
    max-width: 600px;
    max-height: 70%;
    overflow-y: auto;
}

div.newNotification{
    background-color: #84c4da;
}

div.messageTime {
    /*border-right: 1px solid;*/
    font-size: small;
    color: lightslategray;
}


.flash {
    position: absolute;
    top: 140px;
    right: 160px;
    width: 10%;
    display: none;
    text-align: center;
}
.flash-inner {
    line-height: 2;
    border: 1px solid;
}


body,
.modal-open .page-container,
.modal-open .page-container .navbar-fixed-top,
.modal-open .modal-container {
    overflow-y: scroll;
}

@media (max-width: 979px) {
    .modal-open .page-container .navbar-fixed-top{
        overflow-y: visible;
    }
}
